#ifndef CFPS_H
    #define CFPS_H
 
#include <SDL.h>
 
class CFPS
{
    private:
        int OldTime;
        int LastTime;
        float SpeedFactor;
        int NumFrames;
        int Frames;
 
    public:
        static CFPS FPSControl;
        
        CFPS();
        void OnLoop();
        int GetFPS();
        float GetSpeedFactor();
};
 
#endif